package com.tianyi.dao.entity.comUser;

import java.io.Serializable;
import java.util.Date;

public class ComUser implements Serializable {
    /**
     * id
     * 表字段 ：id
     *
     * @mbg.generated Thu May 07 14:15:04 CST 2020
     */
    private Long id;

    /**
     * gmt_create
     * 表字段 ：gmt_create
     *
     * @mbg.generated Thu May 07 14:15:04 CST 2020
     */
    private Date gmtCreate;

    /**
     * gmt_ modified
     * 表字段 ：gmt_modified
     *
     * @mbg.generated Thu May 07 14:15:04 CST 2020
     */
    private Date gmtModified;

    /**
     * 用户名
     * 表字段 ：user_name
     *
     * @mbg.generated Thu May 07 14:15:04 CST 2020
     */
    private String userName;

    /**
     * phone
     * 表字段 ：phone
     *
     * @mbg.generated Thu May 07 14:15:04 CST 2020
     */
    private Long phone;

    /**
     * 小程序id
     * 表字段 ：open_id
     *
     * @mbg.generated Thu May 07 14:15:04 CST 2020
     */
    private String openId;

    /**
     * 审核人工号
     * 表字段 ：auditor
     *
     * @mbg.generated Thu May 07 14:15:04 CST 2020
     */
    private Long auditor;

    /**
     * 备注
     * 表字段 ：remark
     *
     * @mbg.generated Thu May 07 14:15:04 CST 2020
     */
    private String remark;

    /**
     * 审核状态
     * 表字段 ：audit_status
     *
     * @mbg.generated Thu May 07 14:15:04 CST 2020
     */
    private String auditStatus;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table com_user
     *
     * @mbg.generated Thu May 07 14:15:04 CST 2020
     */
    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table com_user
     *
     * @mbg.generated Thu May 07 14:15:04 CST 2020
     */
    public ComUser withId(Long id) {
        this.setId(id);
        return this;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table com_user
     *
     * @mbg.generated Thu May 07 14:15:04 CST 2020
     */
    public ComUser withGmtCreate(Date gmtCreate) {
        this.setGmtCreate(gmtCreate);
        return this;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table com_user
     *
     * @mbg.generated Thu May 07 14:15:04 CST 2020
     */
    public ComUser withGmtModified(Date gmtModified) {
        this.setGmtModified(gmtModified);
        return this;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getUserName() {
        return userName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table com_user
     *
     * @mbg.generated Thu May 07 14:15:04 CST 2020
     */
    public ComUser withUserName(String userName) {
        this.setUserName(userName);
        return this;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public Long getPhone() {
        return phone;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table com_user
     *
     * @mbg.generated Thu May 07 14:15:04 CST 2020
     */
    public ComUser withPhone(Long phone) {
        this.setPhone(phone);
        return this;
    }

    public void setPhone(Long phone) {
        this.phone = phone;
    }

    public String getOpenId() {
        return openId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table com_user
     *
     * @mbg.generated Thu May 07 14:15:04 CST 2020
     */
    public ComUser withOpenId(String openId) {
        this.setOpenId(openId);
        return this;
    }

    public void setOpenId(String openId) {
        this.openId = openId == null ? null : openId.trim();
    }

    public Long getAuditor() {
        return auditor;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table com_user
     *
     * @mbg.generated Thu May 07 14:15:04 CST 2020
     */
    public ComUser withAuditor(Long auditor) {
        this.setAuditor(auditor);
        return this;
    }

    public void setAuditor(Long auditor) {
        this.auditor = auditor;
    }

    public String getRemark() {
        return remark;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table com_user
     *
     * @mbg.generated Thu May 07 14:15:04 CST 2020
     */
    public ComUser withRemark(String remark) {
        this.setRemark(remark);
        return this;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getAuditStatus() {
        return auditStatus;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table com_user
     *
     * @mbg.generated Thu May 07 14:15:04 CST 2020
     */
    public ComUser withAuditStatus(String auditStatus) {
        this.setAuditStatus(auditStatus);
        return this;
    }

    public void setAuditStatus(String auditStatus) {
        this.auditStatus = auditStatus == null ? null : auditStatus.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table com_user
     *
     * @mbg.generated Thu May 07 14:15:04 CST 2020
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append(", userName=").append(userName);
        sb.append(", phone=").append(phone);
        sb.append(", openId=").append(openId);
        sb.append(", auditor=").append(auditor);
        sb.append(", remark=").append(remark);
        sb.append(", auditStatus=").append(auditStatus);
        sb.append("]");
        return sb.toString();
    }
}